package cn.italkcloud.cph.service;

import cn.italkcloud.cph.entity.VosGroupRelate;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * VOS账号组关联 服务类
 * </p>
 *
 * @author dominate
 * @since 2025-03-07
 */
public interface IVosGroupRelateService extends IService<VosGroupRelate> {

    boolean addRelate(int accountId, int groupId, int customerId);

    List<Integer> getCustomerIdList(int groupId);

    Map<Integer, List<Integer>> getGroupCustomerMap(int accountId);

    boolean remove(int accountId, int groupId, int customerId);

}
